package com.tea.Model.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

// 动态发布请求DTO
@Data
public class DynamicCreateDTO {
    @NotBlank(message = "标题不能为空")
    private String title;
    
    @NotBlank(message = "内容不能为空")
    private String content;
    
    @NotEmpty(message = "至少上传一张图片")
    private List<String> imageUrls; // 已上传的图片地址集合
}